import 'dart:convert';

/// CreateTime 2020/6/9 11:10
/// CreateUser chen 
/// ProjectName flutter_elf
import 'package:flutter_elf/config/component_index.dart';


class PictureEntity{
  String url;
  String name;
  int time;

  PictureEntity(String url, String name){
    this.url = url;
    this.name = name;
    this.time = DateTime.now().millisecondsSinceEpoch;
  }

  @override
  String toString() {
    // TODO: implement toString
    return json.encode({
      "url":url,
      "name":name,
      "time":time,
    });
  }

}